﻿using Reuse.PCL.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reuse.WS.Services.Design
{
    public class DesignStateService : IStateService
    {
        public T GetState<T>( string key, bool isPersistentStorage = false )
        {
            return default( T );
        }

        public void SetState( string key, object value, bool isPersistentStorage = false )
        {
            
        }

        public void RegisterAppFrame( object frame )
        {
           
        }

        public Task RestoreState( )
        {
            return new Task( ( ) =>
            {
            } );
        }

        public Task SaveState( )
        {
            return new Task( ( ) =>
            {
            } );
        }

        public Dictionary<string, object> SessionStateForFrame( object frame )
        {
            return new Dictionary<string, object>( );
        }
    }
}
